{{include file=head.tpl}}
	<div class="content">
		<div class="content_left">
			<div class="content_left_main">
				<div class="title"><h1>{{$data['name']}}</h1></div>
				<div class="text">
					{{$data['content']}}
				</div>
				<div class="share">
					<div class="bdsharebuttonbox">
						<a class="bds_count" data-cmd="count"></a>
						<a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信">微信</a>
						<a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间">QQ空间</a>
						<a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博">新浪微博</a>
						<a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博">腾讯微博</a>
						<a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网">人人网</a>
						<a href="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友">QQ好友</a>
						<a href="#" class="bds_more" data-cmd="more">分享到：</a>
					</div>
					<script>
						window._bd_share_config = {
							"common": {
								"bdSnsKey": {},
								"bdText": "{{$data['title']}}",
								"bdDesc" : "{{$data['description']}}",
								"bdMini": "2",
								"bdMiniList": false,
								"bdPic": "{{$data['thumb']}}",
								"bdStyle": "1",
								"bdSize": "16"
							},
							"share": {
								"bdSize": 16
							},
							"image": {
								"viewList": ["qzone", "tsina", "tqq", "renren", "sqq", "weixin"],
								"viewText": "分享到：",
								"viewSize": "24"
							},
							"selectShare": {
								"bdContainerClass": null,
								"bdSelectMiniList": ["qzone", "tsina", "tqq", "renren", "sqq", "weixin"]
							}
						};
						with(document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];
					</script>
				</div>
			</div>
		</div>
		<div class="content_right">
			<div class="content_right_content main_content_2">
				<div class="sort">
					<span>最新图片</span>
					<span>
						<a href="{{U(['cid'=>2],MODULE)}}">更多》</a>
					</span>
				</div>
				<ul class="photo_list list">
					<sql out="new_photo" from="M_jab.article"  select="*" start_limit="0" where="state='1' AND is_pic='1'" order="aid" by="desc" limit="9">
					<foreach array="new_photo">
						<li>
							<a href="{{U(['aid'=>$row['aid'],'cid'=>$row['cid']],MODULE)}}" title="{{$row['title']}}">
								<img src="{{get_img_url($row['thumb'])}}" alt="{{$row['title']}}"/>
								<div class="title">{{$row['title']}}</div>
							</a>	
						</li>
					</foreach>
				</ul>
			</div>
			
			<div class="category_right_content main_content_2">
				<div class="sort">
					<span>最新资讯</span>
					<span>
						<a href="{{U(['cid'=>1],MODULE)}}">更多》</a>
					</span>
				</div>
				<ul class="list">
					<sql out="news" from="M_jab.article"  select="*" start_limit="0" where="state='1'" order="aid" by="desc" limit="10">
					<foreach array="news">
						<li>
							<a href="{{U(['aid'=>$row['aid'],'cid'=>$row['cid']],MODULE)}}" title="{{$row['title']}}">{{$row['title']}}</a>
							<span class="time">{{date('Y-m-d H:i:s',$row['posttime'])}}</span>
						</li>
					</foreach>
				</ul>
			</div>
		</div>
		<div class="c"></div>
	</div>
	{{include file=foot.tpl}}
